package io.gitee.yaoshanli.engine.service;

import io.gitee.yaoshanli.engine.model.WfTaskHandlerModel;

import java.util.List;

public interface ITaskHandlerService {

    //处理任务，添加下一步的用户
    public boolean addUser(String wf_id, String task_id, String... user);

    public boolean removeUser(String wf_id, String task_id, String... user);
    public boolean removeAllUser(String wf_id, String task_id);
    public List<WfTaskHandlerModel> getUserList(String wf_id, String task_id);

    //根据条件重新处理用户，会签的要清理已处理人员
    public List<WfTaskHandlerModel> handlerUser(String wf_id, String task_id, String user);
}
